﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MicroBenchmarks.NonNullCases
{
    /// <summary>
    /// A class in the top level hierarchy
    /// </summary>
    public class H1_1
    {
        H2_1 h21obj;

        public void SetH21(H2_1 h21obj)
        {
            this.h21obj = h21obj;
        }

        /// <summary>
        /// A method in H1
        /// </summary>
        public void H1_1_M1()
        {
            if (h21obj.GetH31() != null)
            {                
            }
        }

        public void H1_1_M2(H2_1 h2obj)
        {
            if (h2obj.GetH31() != null)
            {
            }
        }
    }
}
